package com.qixiaobao.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description 站内信 VO
 * @Author yangxm
 * @Date 2025/7/10 16:02
 */
@Data
public class MessageVO implements Serializable {
    private static final long serialVersionUID = 6982137716437039581L;

    private Long messageId;
    private Long messageUserId;
    /**
     * 主题
     */
    private String subject;
    /**
     * 内容
     */
    private String content;
    /**
     * 阅读状态(0否1是)
     */
    private Integer readFlag;
    private String readFlagVal;
    /**
     * 文件url
     */
    private String fileUrl;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 阅读时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date readTime;
}
